Platform Explorer / Nuxeo Platform 2021.61

Contribution org.nuxeo.ecm.platform.suggestbox.core.pageproviders--providers

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.pageproviders inside nuxeo-platform-suggestbox-core-2021.61.12.jar /OSGI-INF/suggestbox-pageproviders-contrib.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

21
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <coreQueryPageProvider name="DEFAULT_DOCUMENT_SUGGESTION">
            <property name="maxResults">PAGE_SIZE</property>
            <pattern escapeParameters="true" quoteParameters="false">
              SELECT * FROM Document WHERE /*+ES: INDEX(dc:title.fulltext) OPERATOR(match_phrase_prefix) */ ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType !=
              'HiddenInNavigation' AND ecm:isVersion = 0 AND
              ecm:isTrashed = 0 AND ecm:parentId IS NOT NULL
            </pattern>
            <pageSize>10</pageSize>
          </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">

      <coreQueryPageProvider name="DEFAULT_DOCUMENT_SUGGESTION">
        <property name="maxResults">PAGE_SIZE</property>
        <pattern escapeParameters="true" quoteParameters="false">
          SELECT * FROM Document WHERE /*+ES: INDEX(dc:title.fulltext) OPERATOR(match_phrase_prefix) */ ecm:fulltext.dc:title LIKE '?' AND ecm:mixinType !=
          'HiddenInNavigation' AND ecm:isVersion = 0 AND
          ecm:isTrashed = 0 AND ecm:parentId IS NOT NULL
        </pattern>
        <pageSize>10</pageSize>
      </coreQueryPageProvider>

  </extension>